using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN TinhThanhEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: TinhThanhEntity</para>
	/// <para>Description: ClassTinhThanhEntity store data of table TinhThanh</para>
	///</summary>

	[DataContract]
	public partial class TinhThanhEntity{


		private bool _InternalChangedIsNullTinhThanh_ID=true;
		private bool _IsNullTinhThanh_ID=true;
		private bool _InternalChangedIsNullMaTinhThanh=true;
		private bool _IsNullMaTinhThanh=true;
		private bool _InternalChangedIsNullTenTinhThanh=true;
		private bool _IsNullTenTinhThanh=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private bool _InternalChangedIsNullQuocGia_ID=true;
		private bool _IsNullQuocGia_ID=true;
		private int _TinhThanh_ID;
		private string _MaTinhThanh;
		private string _TenTinhThanh;
		private string _GhiChu;
		private int _QuocGia_ID;
		[DataMember]
		public bool IsNullTinhThanh_ID{
			get{return _IsNullTinhThanh_ID;}
			set{if(!_InternalChangedIsNullTinhThanh_ID)_IsNullTinhThanh_ID=value;}
		}
		[DataMember]
		public bool IsNullMaTinhThanh{
			get{return _IsNullMaTinhThanh;}
			set{if(!_InternalChangedIsNullMaTinhThanh)_IsNullMaTinhThanh=value;}
		}
		[DataMember]
		public bool IsNullTenTinhThanh{
			get{return _IsNullTenTinhThanh;}
			set{if(!_InternalChangedIsNullTenTinhThanh)_IsNullTenTinhThanh=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public bool IsNullQuocGia_ID{
			get{return _IsNullQuocGia_ID;}
			set{if(!_InternalChangedIsNullQuocGia_ID)_IsNullQuocGia_ID=value;}
		}
		[DataMember]
		public int TinhThanh_ID{
			get{return _TinhThanh_ID;}
			set{
				_TinhThanh_ID=value;
				if(_TinhThanh_ID!=null){
					_IsNullTinhThanh_ID=false;
					_InternalChangedIsNullTinhThanh_ID=true;
				}
			}
		}
		[DataMember]
		public string MaTinhThanh{
			get{return _MaTinhThanh;}
			set{
				_MaTinhThanh=value;
				if(_MaTinhThanh!=null){
					_IsNullMaTinhThanh=false;
					_InternalChangedIsNullMaTinhThanh=true;
				}
			}
		}
		[DataMember]
		public string TenTinhThanh{
			get{return _TenTinhThanh;}
			set{
				_TenTinhThanh=value;
				if(_TenTinhThanh!=null){
					_IsNullTenTinhThanh=false;
					_InternalChangedIsNullTenTinhThanh=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
		[DataMember]
		public int QuocGia_ID{
			get{return _QuocGia_ID;}
			set{
				_QuocGia_ID=value;
				if(_QuocGia_ID!=null){
					_IsNullQuocGia_ID=false;
					_InternalChangedIsNullQuocGia_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END TinhThanhEntityBase*****************************************/
	/*****************************************************************************************************/
}

